<?php
namespace Anls\Controller;
use Think\Controller;

class ReportController extends AbstractTradeSupportController{
	
    public function index(){
        $this->display('/Report/filter');
    }
    
	public function trade() {
		$this->display();
	}
	
	public function all(){
		$this->display();
	}
	
	public function anls(){
		$this->display();
	}
	
	public function chart(){
		$this->display();
	}
	
	public function getChartAutoView(){
	    $rst = array();
	    if(session('chartAutoView')!=null){
	        $rst['code'] = session('chartAutoView');
	    }
	    echo json_encode($rst);
	}
	
	public function setChartAutoView(){
	    $code = I('code');
	    if(isset($code)){
	        session('chartAutoView',$code);
	    }
	}
	
	public function filter(){
	    $this->display();
	}
}